﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IdentifierType = Common.Type.Identifier;

namespace Common.Contract.Customer.Identifier
{
    public class DistrictIdentifier : IdentifierType
    {
        private const string PrependedConst = "DSTRIC";
        protected override string PrependedString
        {
            get
            {
                return PrependedConst;
            }
        }

        #region Constructors
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="persistableID">The raw ID that is persist able</param>
        public DistrictIdentifier(int persistableID)
            : base(PrependedConst, persistableID)
        { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="displayableID"></param>
        public DistrictIdentifier(string displayableID)
            : base(PrependedConst, displayableID)
        { }
        #endregion //Constructors

    }
}
